package com.explorati.design_pattern.structural.bridge;

public class Test {

	public static void main(String[] args) {
		Bank icbcBank = new ICBCBank(new DepositAccount());
		Account icbcAccount = icbcBank.openAccount();
		icbcAccount.showAccountType();

		Bank abcBank = new ABCBank(new SavingAccount());
		Account abcAccount = abcBank.openAccount();
		abcAccount.showAccountType();
	}
}
